Skip to content

Add QEMU Guest Agent support for Windows provisioning#460

Open
mihaelabalutoiu wants to merge 3 commits into
cloudbase:masterfrom
mihaelabalutoiu:move_qemu_ga_core
Open

Add QEMU Guest Agent support for Windows provisioning#460
mihaelabalutoiu wants to merge 3 commits into
cloudbase:masterfrom
mihaelabalutoiu:move_qemu_ga_core

Conversation

@mihaelabalutoiu

Copy link
Copy Markdown
Member

This PR includes the following changes:

  • Add validation for the windows_virtio_iso_url OSMorphing parameter;
  • Extract the _install_dism_drivers helper;
  • Add support for installing the QEMU Guest Agent.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>

@petrutlucian94 petrutlucian94 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, just a few nits.


virtio_iso_path = "c:\\virtio-win.iso"
virtio_iso_url = self._osmorphing_parameters["windows_virtio_iso_url"]
virtio_iso_path = VIRTIO_WIN_ISO_PATH

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: let's just use VIRTIO_WIN_ISO_PATH, no need for another variable.


def _setup_qemu_agent_installation_local_script(
self, msi_source_path=None, msi_url=None,
msi_name="qemu-ga-x86_64.msi", qemu_ga_source_dir=None):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: do we really need a parameter for the msi name? I'd just use "qemu-ga.msi" all the time. We may eventually support other platforms, e.g. arm64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants